﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MugenInjection;
using MugenInjection.Wcf.Service;
using MugenInjection.Web;
using MugenInjectionTest.Core;

namespace MugenInjectionTest.Web.Wcf
{
    [TestClass]
    public class MugenInjectionServiceBaseTest
    {
        [TestMethod]
        public void TestResolver()
        { 
           /* var resolver = new InjectorResolverTest(() =>
                                                        {
                                                            InjectorContainer.Injector = new MugenInjector();
                                                            return new Sevice();
                                                        }, injector => InjectorContainer.Injector);
            resolver.TestGet();
            resolver.TestGetInto();
            resolver.TestTryGet();
            resolver.TestTryGetInto();
            resolver.TestGetAllInCurrent();
            resolver.TestGetAllInCurrentInto();
            resolver.TestTryGetAllInCurrent();
            resolver.TestTryGetAllInCurrentInto();
            resolver.TestCanResolveCorrectContext();
            resolver.TestCanResolveCorrectContextInto();

            resolver.TestParameters();
            resolver.TestNotBindableTypes();
            resolver.TestMultiInterface();
            resolver.TestInject();
            resolver.TestGenericInterface();
            resolver.TestPriority();
            resolver.TestOptionalParameters();*/
        }
    }

    public class Sevice : MugenInjectionServiceBase { }
}
